<template>
  <div>
      <button @click="login">登录</button>
  </div>
</template>
<script>
export default {
    methods:{
        login(){
            this.$router.push('/')
        }
    }
};
</script>
<style scoped>
</style>